﻿using Abp.Runtime.Caching;

namespace Mt.Site.Core.Security
{
    public static class VerificationCodeManagerExtension
    {
        public const string GetVerificationCodeCacheKey = "App.VerificationCode.Cache";
        public static ITypedCache<string, string> GetVerificationCodeCache(this ICacheManager cacheManager)
        {
            return cacheManager.GetCache<string, string>(GetVerificationCodeCacheKey);
        }
    }
}
